import component from './component';

export const expenseMapComponent = [
  ['POSITIVE_INTEGER', { component: component.get('InputNumber') }],
  ['LONG', { component: component.get('InputNumber') }],
  ['DOUBLE', { component: component.get('InputNumber') }],
  ['TEXT', { component: component.get('Searcher') }],
  ['CUSTOM_ENUMERATION', { component: component.get('Searcher') }],
  ['START_DATE_AND_END_DATE', { component: component.get('DateCombined') }],
  ['DATE', { component: component.get('DatePicker') }],
  ['MONTH', { component: component.get('MonthPicker') }],
  ['DATETIME', { component: component.get('DatePicker') }],
  ['GPS', { component: component.get('Location') }],
  ['LOCATION', { component: component.get('Selector') }],
  ['PARTICIPANTS', { component: component.get('Chooser') }],
  ['PARTICIPANT', { component: component.get('Chooser') }],
  ['COMPANY_PAID', { component: component.get('Switch') }],
  ['BOOLEAN', { component: component.get('Switch') }],
  ['ASSOCIATE_APPLICATION', { component: component.get('Chooser') }],
  ['PROMPT_KEY', 'div']
];

export const expenseArea = [
  ['expenseType', { component: component.get('ExpenseTypeSelector'), params: { param: {} } }],
  ['invoice', { component: component.get('CreateInvoice') }],
  ['businessCard', { component: component.get('BusinessCardConsumption') }],
  ['invoiceOCR', { component: component.get('InvoiceOCRList') }],
  ['invoiceDisabledEdit', { component: component.get('Invoice') }],
  ['expenseForm', { component: component.get('Expense') }],
];

